projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
93c3363
)
Silence compilation warning in mm-view
author
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 12 Feb 2016 06:23:43 +0000
(17:23 +1100)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Fri, 12 Feb 2016 06:23:43 +0000
(17:23 +1100)
* lisp/gnus/mm-view.el (mm-display-inline-fontify): Silence
compilation warning.
lisp/gnus/mm-view.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/mm-view.el
b/lisp/gnus/mm-view.el
index ba77410a5932c901154258e1e11e46ced13ebfa4..518b7403f96454ceb793c68f26c6fa1ac9a000fe 100644
(file)
--- a/
lisp/gnus/mm-view.el
+++ b/
lisp/gnus/mm-view.el
@@
-497,9
+497,7
@@
If MODE is not set, try to find mode automatically."
;; Do not fontify if the guess mode is fundamental.
(unless (or font-lock-mode
(eq major-mode 'fundamental-mode))
- (if (fboundp 'font-lock-ensure)
- (font-lock-ensure)
- (font-lock-fontify-buffer)))))
+ (font-lock-ensure))))
(setq text (buffer-string))
;; Set buffer unmodified to avoid confirmation when killing the
;; buffer.